public class circle extends shape1{
    double r;
    circle(double r){
    	this.r=r;
    }
	public double getArea() {
		return 3.14*r*r;
	}
	public double getperimter() {
		return 3.14*2*r;
	}
}

